package com.pinkpig.excel.xml.config;


import com.pinkpig.excel.metadata.config.DatabaseConfiguration;

/**
 * @author vincenfeng
 */
public class TableExportConfiguration {

    private DatabaseConfiguration databaseConfiguration;

    private TableExportContext tableExportContext;

    public DatabaseConfiguration getDatabaseConfiguration() {
        return databaseConfiguration;
    }

    public void setDatabaseConfiguration(DatabaseConfiguration databaseConfiguration) {
        this.databaseConfiguration = databaseConfiguration;
    }

    public TableExportContext getTableExportContext() {
        return tableExportContext;
    }

    public void setTableExportContext(TableExportContext tableExportContext) {
        this.tableExportContext = tableExportContext;
    }

    public String getCategory(String tableName){
        return tableExportContext.getCategory(tableName);
    }

    public boolean isExclude(String tableName){
        return tableExportContext.isExclude(tableName);
    }

}
